* {
    margin: 0;
    padding: 0;
}
html {
    scroll-behavior: smooth;
    scrollbar-width: none;
}

html::-webkit-scrollbar {
    width: 0;
}

.page section {
    width: 100vw;
    height: 100vh;
    background-position: center;
    background-size: cover;
}

.header {
    position: fixed;
    top: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(255, 255, 255, .4);
    backdrop-filter: blur(30px);
    z-index: 10;
}

.header .center {
    height: 55px;
    box-sizing: border-box;
    padding: 20px 45px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}

@media screen and (min-width: 1100px) {
    .header .center {
        width: 1050px;
    }
}

@media screen and (min-width: 900px) and (max-width: 1100px) {
    .header .center {
        width: 900px;
    }
}

@media screen and (max-width: 900px) {
    .header .center {
        width: 100%;
    }
}

.header .links {
    display: flex;
}

@media screen and (min-width: 900px) {
    .header .links {
        padding-right: 10px;
    }
    .header .link {
        color: #000;
        padding: 9px 15px;
        margin-left: 10px;
        border-radius: 2px;
        text-decoration: none;
        transition: background 200ms;
        font-weight: bold;
    }

    .header .link:hover {
        background: rgba(255, 255, 255, 0.6);
    }

    .header .closemenu {
        display: none;
    }

    .header .openmenu {
        display: none;
    }

    .header .menubg {
        display: none;
    }
}

@media screen and (max-width: 900px) {
    .header .links {
        position: fixed;
        top: 0;
        left: -190px;
        width: 180px;
        height: 150vh;
        padding: 0;
        transform: translateX(0);
        flex-direction: column;
        align-items: start;
        background: #313131;
        transition: transform 250ms;
        z-index: 20;
        font-weight: bold;
    }

    .header .menuopen .links {
        transform: translateX(190px);
    }

    .header .link {
        margin: 0;
        padding: 10px 25px;
        width: 100%;
        box-sizing: border-box;
        color: #fff;
        text-decoration: none;
    }

    .header .closemenu {
        all: unset;
        height: 70px;
        width: 100%;
        box-sizing: border-box;
        padding: 20px 25px 20px 25px;
        position: relative;
    }

    .header .closemenu span {
        position: absolute;
        top: 30px;
        left: 35px;
        display: inline-block;
        height: 20px;
        width: 1px;
        background: #fff;
    }

    .header .closemenu .l {
        transform: rotate(45deg);
    }

    .header .closemenu .r {
        transform: rotate(-45deg);
    }

    .header .openmenu {
        all: unset;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 1.5rem;
        height: 1.2rem;
    }

    .header .openmenu span {
        display: inline-block;
        width: 100%;
        height: 1px;
        background: #000;
    }

    .header .menubg {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 120vh;
        background: rgba(0, 0, 0, .25);
        opacity: 0;
        visibility: hidden;
        transition: opacity 250ms, visibility 0ms 250ms;
    }

    .header .menuopen .menubg {
        opacity: 1;
        visibility: visible;
        transition: opacity 250ms;
    }
}

/*api卡片下划线*/
.hr-container {
    display: grid;
    place-items: center;
    padding-top: 20px;
}

.custom-hr {
    width: 70%;
    height: 2px;
    background-color: #20b2aa;
    border: none;
}

.icon-index {
    margin: 7px auto;
    font-size: 11px;
    margin-left: 25px;
    text-align: center;
    width: fit-content;
}

.custom-footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
    padding: 10px 0;
    box-sizing: border-box;
    text-align: center;
    z-index: 200;
}

.custom-footer .footer-content {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.custom-footer .footer-content a {
    color: #333;
    text-decoration: none;
    font-weight: bold;
    padding: 5px 10px;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.custom-footer .footer-content a:hover {
    background-color: rgba(0, 0, 0, 0.1);
}
@media (max-width: 768px) {
    .custom-footer .footer-content a {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .custom-footer .footer-content a {
        font-size: 12px;
    }
}
.box {
    width: 255px;
    height: 50px;
    overflow: hidden;
    text-overflow: ellipsis;
    border: 1px solid #ccc;
    padding: 10px;
}

